<?php
namespace Tbf\Bundle\TbfBundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Tbf\Bundle\TbfBundle\DependencyInjection\Compiler\SubscriberTagCompilerPass;
use Tbf\Bundle\TbfBundle\DependencyInjection\Compiler\SymfonyLazyServiceCompilerPass;

class TbfBundle extends Bundle
{
    public function build(ContainerBuilder $container)
    {
        $container->addCompilerPass(new SubscriberTagCompilerPass());
        $container->addCompilerPass(new SymfonyLazyServiceCompilerPass());
    }
}
